<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    {:build_input($auth->username,'create_user','row[create_user]','hidden') }
    {:build_input($auth->username,'update_user','row[update_user]','hidden') }


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Club_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-club_id" data-rule="required" data-source="sport/club/index" class="form-control selectpage" name="row[club_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Country_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-country_id" data-rule="required" data-source="country/index" class="form-control selectpage" name="row[country_id]" type="text" value="">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Main_team')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-main_team_id" data-rule="required" data-source="sport/team/index" class="form-control selectpage" name="row[main_team_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Visiting_team')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-visiting_team_id" data-rule="required" data-source="sport/team/index" class="form-control selectpage" name="row[visiting_team_id]" type="text" value="">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ori_match_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ori_match_time" data-rule="required" class="form-control" name="row[ori_match_time]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[match_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" data-rule="" class="form-control " rows="5" name="row[remark]" cols="50"></textarea>
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
